﻿using System.ComponentModel;


namespace Estimate
{
    public class ProductInInvoice : IListSource
    {
        public int InvoiceToHistoryID { get; set; }
        public string ProductName { get; set; }
        public string UnitName { get; set; }
        public decimal Count { get; set; }
        public decimal Price { get; set; }
        public decimal PriceTotal { get; set; }

        public bool ContainsListCollection
        { get { return false; } }

        public System.Collections.IList GetList()
        {
            var source = new BindingList<ProductInInvoice>();
            return source;
        }
    }
}
